﻿@model List<WI.CandidateManager.Common.Data.Entities.StudyGroup>

@{
    ViewBag.Title = Resources.Coach.CoachPageTitle;
}

<h2>Group List</h2>

<table class="bordered">
    <thead>
        <tr>
            <th>Edit</th>
            <th>GroupName</th>
            <th>Description</th>
            <th>State</th>
            <th>Delete</th>
        </tr>
    </thead>
    @foreach (var group in Model)
    {
        <tr>
            <td class="Center column-detail">@Html.ActionLink("Edit", "Manage", "Groups", new { studyGroupId = group.Id }, new { @class = "common-btn BlueColor" })</td>
            <td>@group.GroupName</td>
            <td>@group.Description</td>
            <td>@group.State</td>
            <td class="Center column-detail">@Html.ActionLink("Delete", "DeleteGroup", "Groups", new { groupId = group.Id }, new { @class = "common-btn RedColor" })</td>
        </tr>
    }
</table>
